package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.StoreFollowType;
import com.dingreading.cloud.common.util.PageUtil;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2024-12-03
 */
public interface StoreFollowTypeService extends IService<StoreFollowType> {

    Page<StoreFollowType> pageList(PageUtil pageUtil, String keyword, Integer source, Integer operate);

    boolean haveName(Long id, String name);

    StoreFollowType getByUid(String followTypeUid);

    List<StoreFollowType> listBySource();

}
